﻿
namespace CodingMuscles.Text.Regexp
{
    /// <summary>
    /// A shorthand expression for a predefined set of character matches
    /// </summary>
    public enum CharacterClass
    {
        /// <summary>
        /// Includes all letters, all digits and an underscore (\w)
        /// </summary>
        Word,
        /// <summary>
        /// A white-space character including newline, carriage return, form feed, tab and space (\s)
        /// </summary>
        Whitespace,
        /// <summary>
        /// Any character (.)
        /// </summary>
        Any,
        /// <summary>
        /// The numeric characters 0 through 9 (\d)
        /// </summary>
        Digit,
        /// <summary>
        /// Any character other than a digit (\D)
        /// </summary>
        NonDigit,
        /// <summary>
        /// Any character besides other than a white-space character (\S)
        /// </summary>
        NonWhitespace,
        /// <summary>
        /// Any character other than a word character (\W)
        /// </summary>
        NonWord
    }

}
